package leaf.cloud;

import de.codecentric.boot.admin.server.config.EnableAdminServer;
import leaf.cloud.common.core.utils.async.AsyncProcessQueue;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @ClassName AdminApplication
 * @Description
 * @Author YeZiHao
 * @Date 2023/2/24 20:38
 **/
@EnableAdminServer
@EnableDiscoveryClient
@SpringBootApplication
public class AdminApplication {
    public static void main(String[] args) {
        SpringApplication.run(AdminApplication.class, args);
        AsyncProcessQueue.getInstance().init();//初始化多线程队列
    }
}
